Made DB errors go to the exception log again
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 28 Apr 2014 17:53:16 +0000 (10:53 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 28 Apr 2014 17:53:16 +0000 (10:53 -0700)
commit8c6fca60f2b1fa6fa3408e92a22da0f1be536f49
treeba48151cb379d6bdd9bf35d2c3f2d1ed94e5c6dd
parentdf9fc5c923cb69b9433a187959c82ebf0a880541
Made DB errors go to the exception log again

* Some DB errors are caught while others bubble up to users.
  It is useful to log the latter separately and it also provides
  more context. The exception logs have a backtrace where as the
  regular DB logs do not.

Change-Id: I7ef7693d96e0258119f714e678099e4813ca0c94
includes/db/DatabaseError.php